package com.huang.mock;

import com.huang.dos.Menu;

import java.util.ArrayList;
import java.util.List;

/**
 * @author mr.huang [jie88888822@163.com]
 * @devTime 2022-06-09
 */
public class MockData {

	private MockData(){}

	private static List<Menu> menus = new ArrayList<>();

	static {
		//父级
		menus.add(new Menu(1000,"权限管理",0));
		menus.add(new Menu(1001,"系统管理",0));
		menus.add(new Menu(1002,"课程管理",0));

		//子级
		/*----------------------1000---------------------------*/
		menus.add(new Menu(2001,"用户管理",1000));
		menus.add(new Menu(2002,"角色管理",1000));
		menus.add(new Menu(2003,"菜单管理",1000));
		/*----------------------1001---------------------------*/
		menus.add(new Menu(2004,"CPU线索",1001));
		menus.add(new Menu(2005,"磁盘管理",1001));
		menus.add(new Menu(2006,"线程管理",1001));
		/*----------------------1002---------------------------*/
		menus.add(new Menu(2007,"Java开发",1002));
		menus.add(new Menu(2008,"大数据",1002));
		menus.add(new Menu(2009,"Python爬虫",1002));

		//子子级
		/*----------------------2009---------------------------*/
		menus.add(new Menu(2010,"Python实现抓包",2009));
		menus.add(new Menu(2011,"Python实现Http",2009));
		menus.add(new Menu(2012,"Python实现攻击",2009));
	}

	public static List<Menu> getMocks(){
		return menus;
	}
}
